package com.iswust.visual.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Builder;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @author liushuai
 * @create 2023-02-21 10:38
 */
@Data
@Accessors(chain = true)
@Builder
public class CalenderVo {
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date date;

    private String weatherName;

    private Float temperature;

    private Float windSpeed;

    private Float water;

    @JsonProperty("AQI")
    private Integer AQI;

    private String weatherCode;

    @JsonProperty("AQILevel")
    private String AQILevel;

    private Integer trafficFlow;

    private Integer trafficFlowCode;
}
